package Coffee.dao;

import Coffee.bean.Coffee;

import java.util.List;

public interface CoffeeDao {
    int insertCoffee(Coffee coffee);//添加饮品
    int delbyname(String cofname);//删除饮品
    Coffee selectbyname(String cofname);//查询
   int updateCofbyname(String cofname,int cofprice,String state);//修改价格或者状态
    List<Coffee> selectAll();//查询所有
    List<Coffee> selectlikaname(String cofname);//模糊查询

}
